@layout("/common/_container.html"){
<div class="row">
    <div class="col-sm-12">
        <div class="ibox float-e-margins">
            <div class="ibox-title">
                <h5>产品信息管理</h5>
            </div>
            <div class="ibox-content">
                <div class="row row-lg">
                    <div class="col-sm-12">
                        <div class="row">
                            <div class="col-sm-3">
                                <#NameCon id="productMode" name="产品型号" />
                            </div>

                            <div class="col-sm-3">
                                <#SelectCon id="productType" name="产品类型" >
                                    <option value="">所有</option>
                                    <option value="1">主机</option>
                                    <option value="2">超伴</option>
                                    <option value="3">管线机</option>
                                    <option value="4">开水机</option>
                                </#SelectCon>
                            </div>

                            <div class="col-sm-3">
                                <#button name="搜索" icon="fa-search" clickFun="Product.search()"/>
                            </div>
                        </div>


                        <div class="hidden-xs" id="ProductTableToolbar" role="group">
                            @if(shiro.hasPermission("/product/add")){
                                <#button name="添加" icon="fa-plus" clickFun="Product.openAddProduct()"/>
                            @}
                            @if(shiro.hasPermission("/product/update")){
                                <#button name="修改" icon="fa-plus" clickFun="Product.openProductDetail()" space="true"/>
                            @}
                            @if(shiro.hasPermission("/product/productFlowAdd")){
                                <#button name="库存变更" icon="fa-plus" clickFun="Product.openAddProductFlow()" space="true"/>
                            @}
                            @if(shiro.hasPermission("/product/delete")){
                                <#button name="删除" icon="fa-plus" clickFun="Product.delete()" space="true"/>
                            @}
                        </div>

                        <#table id="ProductTable"/>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<script src="${ctxPath}/static/modular/biz/product/product.js"></script>
@}
